// Lean compiler output
// Module: Lake.Toml.Data.DateTime
// Imports: public import Lake.Util.Date import Lake.Util.String import Init.Data.String.TakeDrop import Init.Data.String.Search
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_zpad(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__0___boxed(lean_object*);
static lean_object* l_Lake_Toml_DateTime_instToString___closed__0;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__8(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4___redArg(lean_object*, lean_object*, lean_object*);
lean_object* lean_string_utf8_next_fast(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_localDate_elim(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_Toml_DateTime_toString___closed__0;
lean_object* l_String_Slice_toNat_x3f(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_instDecidableEqTime_decEq___boxed(lean_object*, lean_object*);
static lean_object* l_Lake_Toml_DateTime_toString___closed__1;
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lake_Toml_instDecidableEqDateTime_decEq___lam__0(uint8_t, uint8_t, uint8_t);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_Toml_Time_instToString___closed__0;
LEAN_EXPORT lean_object* l_Lake_Toml_instInhabitedTime;
LEAN_EXPORT lean_object* l_String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2___redArg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_Time_ofValid_x3f(lean_object*, lean_object*, lean_object*);
static lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__0___closed__0;
lean_object* lean_array_push(lean_object*, lean_object*);
uint8_t l_Lake_instDecidableEqDate_decEq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_instDecidableEqDateTime___boxed(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lake_Toml_instDecidableEqTime(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__5___boxed(lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__7___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_ctorIdx___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_Toml_Time_toString___closed__1;
LEAN_EXPORT uint8_t l_Lake_Toml_instDecidableEqDateTime(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_ctorIdx(lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*);
lean_object* lean_string_utf8_byte_size(lean_object*);
uint32_t lean_string_utf8_get_fast(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_Time_ofString_x3f_spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__7(lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0(lean_object*);
uint8_t l_instDecidableEqProd___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lake_Toml_instDecidableEqDateTime_decEq(lean_object*, lean_object*);
static lean_object* l_Lake_Toml_Time_ofString_x3f___closed__0;
LEAN_EXPORT lean_object* l_Lake_Toml_instCoeDateDateTime;
static lean_object* l_Lake_Toml_Time_toString___closed__0;
LEAN_EXPORT uint8_t l_Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_instDecidableEqDateTime_decEq___boxed(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2_spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
static lean_object* l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0___closed__0;
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__8___redArg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_Date_toString(lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_String_Slice_Pos_prevn(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_Toml_DateTime_toString___closed__3;
LEAN_EXPORT uint8_t l_Lake_Toml_instDecidableEqDateTime_decEq___lam__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__6___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_toString(lean_object*);
lean_object* lean_array_to_list(lean_object*);
static lean_object* l_Lake_Toml_instInhabitedDateTime_default___closed__0;
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_offsetDateTime_elim(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Option_instDecidableEq___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_instDecidableEqTime___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_instCoeTimeDateTime___lam__0(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_instCoeTimeDateTime;
LEAN_EXPORT lean_object* l_Lake_Toml_instInhabitedTime_default;
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_Time_ofString_x3f_spec__1___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__1___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_instInhabitedDateTime_default;
lean_object* l_String_Slice_Pos_get_x3f(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__5(lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_Toml_DateTime_toString___closed__2;
lean_object* l_String_Slice_slice_x21(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_Time_zero;
LEAN_EXPORT lean_object* l_Lake_Toml_Time_ofString_x3f(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_Time_instOfNat;
LEAN_EXPORT uint8_t l_Lake_Toml_instDecidableEqTime_decEq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_ctorElim___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_Time_toString(lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0___boxed(lean_object*);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_ofString_x3f(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_localDate_elim___redArg(lean_object*, lean_object*);
uint8_t lean_uint32_dec_eq(uint32_t, uint32_t);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__6(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_localTime_elim___redArg(lean_object*, lean_object*);
lean_object* l_Lake_rpad(lean_object*, uint32_t, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__2(lean_object*);
LEAN_EXPORT uint8_t l_String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_localDateTime_elim(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_instDecidableEqDateTime_decEq___lam__0___boxed(lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* l_Lake_Date_ofString_x3f(lean_object*);
LEAN_EXPORT uint8_t l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2_spec__2___redArg(lean_object*, uint8_t, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Lake_Toml_instCoeDateDateTime___lam__0(lean_object*);
static lean_object* l_Lake_Toml_instInhabitedDateTime_default___closed__1;
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_Time_ofString_x3f_spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__2___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_instInhabitedDateTime;
extern lean_object* l_Lake_instInhabitedDate_default;
LEAN_EXPORT uint8_t l_String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2___redArg(lean_object*);
lean_object* l_String_Slice_Pos_prev_x3f(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_instToString;
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_localTime_elim(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_string_append(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_offsetDateTime_elim___redArg(lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
lean_object* l_String_Slice_positions(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_localDateTime_elim___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_Time_instToString;
lean_object* lean_nat_add(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_Time_ofString_x3f_spec__3___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_instDecidableEqDateTime_decEq___lam__1___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_Toml_instInhabitedTime_default___closed__0;
static lean_object* _init_l_Lake_Toml_instInhabitedTime_default___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
lean_ctor_set(x_2, 2, x_1);
lean_ctor_set(x_2, 3, x_1);
lean_ctor_set(x_2, 4, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_Toml_instInhabitedTime_default() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_Toml_instInhabitedTime_default___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lake_Toml_instInhabitedTime() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_Toml_instInhabitedTime_default;
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lake_Toml_instDecidableEqTime_decEq(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_ctor_get(x_1, 1);
x_5 = lean_ctor_get(x_1, 2);
x_6 = lean_ctor_get(x_1, 3);
x_7 = lean_ctor_get(x_1, 4);
x_8 = lean_ctor_get(x_2, 0);
x_9 = lean_ctor_get(x_2, 1);
x_10 = lean_ctor_get(x_2, 2);
x_11 = lean_ctor_get(x_2, 3);
x_12 = lean_ctor_get(x_2, 4);
x_13 = lean_nat_dec_eq(x_3, x_8);
if (x_13 == 0)
{
return x_13;
}
else
{
uint8_t x_14; 
x_14 = lean_nat_dec_eq(x_4, x_9);
if (x_14 == 0)
{
return x_14;
}
else
{
uint8_t x_15; 
x_15 = lean_nat_dec_eq(x_5, x_10);
if (x_15 == 0)
{
return x_15;
}
else
{
uint8_t x_16; 
x_16 = lean_nat_dec_eq(x_6, x_11);
if (x_16 == 0)
{
return x_16;
}
else
{
uint8_t x_17; 
x_17 = lean_nat_dec_eq(x_7, x_12);
return x_17;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_instDecidableEqTime_decEq___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lake_Toml_instDecidableEqTime_decEq(x_1, x_2);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT uint8_t l_Lake_Toml_instDecidableEqTime(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = l_Lake_Toml_instDecidableEqTime_decEq(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_instDecidableEqTime___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lake_Toml_instDecidableEqTime(x_1, x_2);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
static lean_object* _init_l_Lake_Toml_Time_zero() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_Toml_instInhabitedTime_default___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lake_Toml_Time_instOfNat() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_Toml_Time_zero;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_Time_ofValid_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_unsigned_to_nat(23u);
x_5 = lean_nat_dec_le(x_1, x_4);
if (x_5 == 0)
{
lean_object* x_6; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_6 = lean_box(0);
return x_6;
}
else
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_unsigned_to_nat(59u);
x_8 = lean_nat_dec_le(x_2, x_7);
if (x_8 == 0)
{
lean_object* x_9; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_9 = lean_box(0);
return x_9;
}
else
{
lean_object* x_10; uint8_t x_11; 
x_10 = lean_unsigned_to_nat(60u);
x_11 = lean_nat_dec_le(x_3, x_10);
if (x_11 == 0)
{
lean_object* x_12; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_12 = lean_box(0);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_13 = lean_unsigned_to_nat(0u);
x_14 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_14, 0, x_1);
lean_ctor_set(x_14, 1, x_2);
lean_ctor_set(x_14, 2, x_3);
lean_ctor_set(x_14, 3, x_13);
lean_ctor_set(x_14, 4, x_13);
x_15 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_4 = lean_ctor_get(x_1, 0);
x_5 = lean_ctor_get(x_1, 1);
x_6 = lean_ctor_get(x_1, 2);
x_7 = lean_nat_sub(x_6, x_5);
x_8 = lean_nat_dec_eq(x_2, x_7);
lean_dec(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_9 = lean_nat_add(x_5, x_2);
lean_dec(x_2);
x_10 = lean_string_utf8_next_fast(x_4, x_9);
lean_dec(x_9);
x_11 = lean_nat_sub(x_10, x_5);
lean_dec(x_10);
x_12 = lean_unsigned_to_nat(1u);
x_13 = lean_nat_add(x_3, x_12);
lean_dec(x_3);
x_2 = x_11;
x_3 = x_13;
goto _start;
}
else
{
lean_dec(x_2);
return x_3;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4___redArg(x_1, x_4, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_Time_ofString_x3f_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; 
if (lean_obj_tag(x_2) == 0)
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_2);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_10 = lean_ctor_get(x_2, 0);
x_11 = lean_ctor_get(x_2, 1);
x_12 = lean_ctor_get(x_1, 0);
x_13 = lean_ctor_get(x_1, 1);
x_14 = lean_ctor_get(x_1, 2);
x_15 = lean_nat_sub(x_14, x_13);
x_16 = lean_nat_dec_eq(x_11, x_15);
lean_dec(x_15);
if (x_16 == 0)
{
uint32_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint32_t x_21; uint8_t x_22; 
x_17 = 58;
x_18 = lean_nat_add(x_13, x_11);
x_19 = lean_string_utf8_next_fast(x_12, x_18);
x_20 = lean_nat_sub(x_19, x_13);
lean_dec(x_19);
x_21 = lean_string_utf8_get_fast(x_12, x_18);
lean_dec(x_18);
x_22 = lean_uint32_dec_eq(x_21, x_17);
if (x_22 == 0)
{
lean_dec(x_11);
lean_ctor_set(x_2, 1, x_20);
goto _start;
}
else
{
lean_object* x_24; 
lean_inc_ref(x_1);
x_24 = l_String_Slice_slice_x21(x_1, x_10, x_11);
lean_dec(x_11);
lean_dec(x_10);
lean_inc(x_20);
lean_ctor_set(x_2, 1, x_20);
lean_ctor_set(x_2, 0, x_20);
x_4 = x_2;
x_5 = x_24;
goto block_8;
}
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
lean_free_object(x_2);
lean_dec(x_11);
x_25 = lean_nat_add(x_13, x_10);
lean_dec(x_10);
lean_inc(x_14);
lean_inc_ref(x_12);
x_26 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_26, 0, x_12);
lean_ctor_set(x_26, 1, x_25);
lean_ctor_set(x_26, 2, x_14);
x_27 = lean_box(1);
x_4 = x_27;
x_5 = x_26;
goto block_8;
}
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; 
x_28 = lean_ctor_get(x_2, 0);
x_29 = lean_ctor_get(x_2, 1);
lean_inc(x_29);
lean_inc(x_28);
lean_dec(x_2);
x_30 = lean_ctor_get(x_1, 0);
x_31 = lean_ctor_get(x_1, 1);
x_32 = lean_ctor_get(x_1, 2);
x_33 = lean_nat_sub(x_32, x_31);
x_34 = lean_nat_dec_eq(x_29, x_33);
lean_dec(x_33);
if (x_34 == 0)
{
uint32_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint32_t x_39; uint8_t x_40; 
x_35 = 58;
x_36 = lean_nat_add(x_31, x_29);
x_37 = lean_string_utf8_next_fast(x_30, x_36);
x_38 = lean_nat_sub(x_37, x_31);
lean_dec(x_37);
x_39 = lean_string_utf8_get_fast(x_30, x_36);
lean_dec(x_36);
x_40 = lean_uint32_dec_eq(x_39, x_35);
if (x_40 == 0)
{
lean_object* x_41; 
lean_dec(x_29);
x_41 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_41, 0, x_28);
lean_ctor_set(x_41, 1, x_38);
x_2 = x_41;
goto _start;
}
else
{
lean_object* x_43; lean_object* x_44; 
lean_inc_ref(x_1);
x_43 = l_String_Slice_slice_x21(x_1, x_28, x_29);
lean_dec(x_29);
lean_dec(x_28);
lean_inc(x_38);
x_44 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_44, 0, x_38);
lean_ctor_set(x_44, 1, x_38);
x_4 = x_44;
x_5 = x_43;
goto block_8;
}
}
else
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; 
lean_dec(x_29);
x_45 = lean_nat_add(x_31, x_28);
lean_dec(x_28);
lean_inc(x_32);
lean_inc_ref(x_30);
x_46 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_46, 0, x_30);
lean_ctor_set(x_46, 1, x_45);
lean_ctor_set(x_46, 2, x_32);
x_47 = lean_box(1);
x_4 = x_47;
x_5 = x_46;
goto block_8;
}
}
}
else
{
lean_dec_ref(x_1);
return x_3;
}
block_8:
{
lean_object* x_6; 
x_6 = lean_array_push(x_3, x_5);
x_2 = x_4;
x_3 = x_6;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_Time_ofString_x3f_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_Time_ofString_x3f_spec__1___redArg(x_1, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_Time_ofString_x3f_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; 
if (lean_obj_tag(x_2) == 0)
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_2);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_10 = lean_ctor_get(x_2, 0);
x_11 = lean_ctor_get(x_2, 1);
x_12 = lean_ctor_get(x_1, 0);
x_13 = lean_ctor_get(x_1, 1);
x_14 = lean_ctor_get(x_1, 2);
x_15 = lean_nat_sub(x_14, x_13);
x_16 = lean_nat_dec_eq(x_11, x_15);
lean_dec(x_15);
if (x_16 == 0)
{
uint32_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint32_t x_21; uint8_t x_22; 
x_17 = 46;
x_18 = lean_nat_add(x_13, x_11);
x_19 = lean_string_utf8_next_fast(x_12, x_18);
x_20 = lean_nat_sub(x_19, x_13);
lean_dec(x_19);
x_21 = lean_string_utf8_get_fast(x_12, x_18);
lean_dec(x_18);
x_22 = lean_uint32_dec_eq(x_21, x_17);
if (x_22 == 0)
{
lean_dec(x_11);
lean_ctor_set(x_2, 1, x_20);
goto _start;
}
else
{
lean_object* x_24; 
lean_inc_ref(x_1);
x_24 = l_String_Slice_slice_x21(x_1, x_10, x_11);
lean_dec(x_11);
lean_dec(x_10);
lean_inc(x_20);
lean_ctor_set(x_2, 1, x_20);
lean_ctor_set(x_2, 0, x_20);
x_4 = x_2;
x_5 = x_24;
goto block_8;
}
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
lean_free_object(x_2);
lean_dec(x_11);
x_25 = lean_nat_add(x_13, x_10);
lean_dec(x_10);
lean_inc(x_14);
lean_inc_ref(x_12);
x_26 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_26, 0, x_12);
lean_ctor_set(x_26, 1, x_25);
lean_ctor_set(x_26, 2, x_14);
x_27 = lean_box(1);
x_4 = x_27;
x_5 = x_26;
goto block_8;
}
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; 
x_28 = lean_ctor_get(x_2, 0);
x_29 = lean_ctor_get(x_2, 1);
lean_inc(x_29);
lean_inc(x_28);
lean_dec(x_2);
x_30 = lean_ctor_get(x_1, 0);
x_31 = lean_ctor_get(x_1, 1);
x_32 = lean_ctor_get(x_1, 2);
x_33 = lean_nat_sub(x_32, x_31);
x_34 = lean_nat_dec_eq(x_29, x_33);
lean_dec(x_33);
if (x_34 == 0)
{
uint32_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint32_t x_39; uint8_t x_40; 
x_35 = 46;
x_36 = lean_nat_add(x_31, x_29);
x_37 = lean_string_utf8_next_fast(x_30, x_36);
x_38 = lean_nat_sub(x_37, x_31);
lean_dec(x_37);
x_39 = lean_string_utf8_get_fast(x_30, x_36);
lean_dec(x_36);
x_40 = lean_uint32_dec_eq(x_39, x_35);
if (x_40 == 0)
{
lean_object* x_41; 
lean_dec(x_29);
x_41 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_41, 0, x_28);
lean_ctor_set(x_41, 1, x_38);
x_2 = x_41;
goto _start;
}
else
{
lean_object* x_43; lean_object* x_44; 
lean_inc_ref(x_1);
x_43 = l_String_Slice_slice_x21(x_1, x_28, x_29);
lean_dec(x_29);
lean_dec(x_28);
lean_inc(x_38);
x_44 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_44, 0, x_38);
lean_ctor_set(x_44, 1, x_38);
x_4 = x_44;
x_5 = x_43;
goto block_8;
}
}
else
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; 
lean_dec(x_29);
x_45 = lean_nat_add(x_31, x_28);
lean_dec(x_28);
lean_inc(x_32);
lean_inc_ref(x_30);
x_46 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_46, 0, x_30);
lean_ctor_set(x_46, 1, x_45);
lean_ctor_set(x_46, 2, x_32);
x_47 = lean_box(1);
x_4 = x_47;
x_5 = x_46;
goto block_8;
}
}
}
else
{
lean_dec_ref(x_1);
return x_3;
}
block_8:
{
lean_object* x_6; 
x_6 = lean_array_push(x_3, x_5);
x_2 = x_4;
x_3 = x_6;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_Time_ofString_x3f_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_Time_ofString_x3f_spec__3___redArg(x_1, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0___closed__0;
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__2(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0___closed__0;
return x_2;
}
}
static lean_object* _init_l_Lake_Toml_Time_ofString_x3f___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_Time_ofString_x3f(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_string_utf8_byte_size(x_1);
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
x_5 = l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0(x_4);
x_6 = l_Lake_Toml_Time_ofString_x3f___closed__0;
x_7 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_Time_ofString_x3f_spec__1___redArg(x_4, x_5, x_6);
x_8 = lean_array_to_list(x_7);
if (lean_obj_tag(x_8) == 1)
{
lean_object* x_9; 
x_9 = lean_ctor_get(x_8, 1);
lean_inc(x_9);
if (lean_obj_tag(x_9) == 1)
{
lean_object* x_10; 
x_10 = lean_ctor_get(x_9, 1);
if (lean_obj_tag(x_10) == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_8, 0);
lean_inc(x_11);
lean_dec_ref(x_8);
x_12 = lean_ctor_get(x_9, 0);
lean_inc(x_12);
lean_dec_ref(x_9);
x_13 = l_String_Slice_toNat_x3f(x_11);
lean_dec(x_11);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14; 
lean_dec(x_12);
x_14 = lean_box(0);
return x_14;
}
else
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_ctor_get(x_13, 0);
lean_inc(x_15);
lean_dec_ref(x_13);
x_16 = l_String_Slice_toNat_x3f(x_12);
lean_dec(x_12);
if (lean_obj_tag(x_16) == 0)
{
lean_object* x_17; 
lean_dec(x_15);
x_17 = lean_box(0);
return x_17;
}
else
{
lean_object* x_18; lean_object* x_19; 
x_18 = lean_ctor_get(x_16, 0);
lean_inc(x_18);
lean_dec_ref(x_16);
x_19 = l_Lake_Toml_Time_ofValid_x3f(x_15, x_18, x_2);
return x_19;
}
}
}
else
{
lean_object* x_20; 
lean_inc_ref(x_10);
x_20 = lean_ctor_get(x_10, 1);
if (lean_obj_tag(x_20) == 0)
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_21 = lean_ctor_get(x_8, 0);
lean_inc(x_21);
lean_dec_ref(x_8);
x_22 = lean_ctor_get(x_9, 0);
lean_inc(x_22);
lean_dec_ref(x_9);
x_23 = lean_ctor_get(x_10, 0);
lean_inc(x_23);
lean_dec_ref(x_10);
x_24 = l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__2(x_23);
x_25 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_Time_ofString_x3f_spec__3___redArg(x_23, x_24, x_6);
x_26 = lean_array_to_list(x_25);
if (lean_obj_tag(x_26) == 1)
{
lean_object* x_27; 
x_27 = lean_ctor_get(x_26, 1);
lean_inc(x_27);
if (lean_obj_tag(x_27) == 0)
{
lean_object* x_28; lean_object* x_29; 
x_28 = lean_ctor_get(x_26, 0);
lean_inc(x_28);
lean_dec_ref(x_26);
x_29 = l_String_Slice_toNat_x3f(x_21);
lean_dec(x_21);
if (lean_obj_tag(x_29) == 0)
{
lean_object* x_30; 
lean_dec(x_28);
lean_dec(x_22);
x_30 = lean_box(0);
return x_30;
}
else
{
lean_object* x_31; lean_object* x_32; 
x_31 = lean_ctor_get(x_29, 0);
lean_inc(x_31);
lean_dec_ref(x_29);
x_32 = l_String_Slice_toNat_x3f(x_22);
lean_dec(x_22);
if (lean_obj_tag(x_32) == 0)
{
lean_object* x_33; 
lean_dec(x_31);
lean_dec(x_28);
x_33 = lean_box(0);
return x_33;
}
else
{
lean_object* x_34; lean_object* x_35; 
x_34 = lean_ctor_get(x_32, 0);
lean_inc(x_34);
lean_dec_ref(x_32);
x_35 = l_String_Slice_toNat_x3f(x_28);
lean_dec(x_28);
if (lean_obj_tag(x_35) == 0)
{
lean_object* x_36; 
lean_dec(x_34);
lean_dec(x_31);
x_36 = lean_box(0);
return x_36;
}
else
{
lean_object* x_37; lean_object* x_38; 
x_37 = lean_ctor_get(x_35, 0);
lean_inc(x_37);
lean_dec_ref(x_35);
x_38 = l_Lake_Toml_Time_ofValid_x3f(x_31, x_34, x_37);
return x_38;
}
}
}
}
else
{
lean_object* x_39; 
x_39 = lean_ctor_get(x_27, 1);
if (lean_obj_tag(x_39) == 0)
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; 
x_40 = lean_ctor_get(x_26, 0);
lean_inc(x_40);
lean_dec_ref(x_26);
x_41 = lean_ctor_get(x_27, 0);
lean_inc(x_41);
lean_dec_ref(x_27);
x_42 = l_String_Slice_toNat_x3f(x_21);
lean_dec(x_21);
if (lean_obj_tag(x_42) == 0)
{
lean_object* x_43; 
lean_dec(x_41);
lean_dec(x_40);
lean_dec(x_22);
x_43 = lean_box(0);
return x_43;
}
else
{
lean_object* x_44; lean_object* x_45; 
x_44 = lean_ctor_get(x_42, 0);
lean_inc(x_44);
lean_dec_ref(x_42);
x_45 = l_String_Slice_toNat_x3f(x_22);
lean_dec(x_22);
if (lean_obj_tag(x_45) == 0)
{
lean_object* x_46; 
lean_dec(x_44);
lean_dec(x_41);
lean_dec(x_40);
x_46 = lean_box(0);
return x_46;
}
else
{
lean_object* x_47; lean_object* x_48; 
x_47 = lean_ctor_get(x_45, 0);
lean_inc(x_47);
lean_dec_ref(x_45);
x_48 = l_String_Slice_toNat_x3f(x_40);
lean_dec(x_40);
if (lean_obj_tag(x_48) == 0)
{
lean_object* x_49; 
lean_dec(x_47);
lean_dec(x_44);
lean_dec(x_41);
x_49 = lean_box(0);
return x_49;
}
else
{
lean_object* x_50; lean_object* x_51; 
x_50 = lean_ctor_get(x_48, 0);
lean_inc(x_50);
lean_dec_ref(x_48);
x_51 = l_Lake_Toml_Time_ofValid_x3f(x_44, x_47, x_50);
if (lean_obj_tag(x_51) == 0)
{
lean_dec(x_41);
return x_51;
}
else
{
lean_object* x_52; lean_object* x_53; 
x_52 = lean_ctor_get(x_51, 0);
lean_inc(x_52);
lean_dec_ref(x_51);
x_53 = l_String_Slice_toNat_x3f(x_41);
if (lean_obj_tag(x_53) == 0)
{
lean_object* x_54; 
lean_dec(x_52);
lean_dec(x_41);
x_54 = lean_box(0);
return x_54;
}
else
{
uint8_t x_55; 
x_55 = !lean_is_exclusive(x_53);
if (x_55 == 0)
{
uint8_t x_56; 
x_56 = !lean_is_exclusive(x_52);
if (x_56 == 0)
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_57 = lean_ctor_get(x_53, 0);
x_58 = lean_ctor_get(x_52, 4);
lean_dec(x_58);
x_59 = lean_ctor_get(x_52, 3);
lean_dec(x_59);
x_60 = l_String_Slice_positions(x_41);
x_61 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4___redArg(x_41, x_60, x_2);
lean_dec(x_41);
x_62 = lean_unsigned_to_nat(1u);
x_63 = lean_nat_sub(x_61, x_62);
lean_dec(x_61);
lean_ctor_set(x_52, 4, x_57);
lean_ctor_set(x_52, 3, x_63);
lean_ctor_set(x_53, 0, x_52);
return x_53;
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; 
x_64 = lean_ctor_get(x_53, 0);
x_65 = lean_ctor_get(x_52, 0);
x_66 = lean_ctor_get(x_52, 1);
x_67 = lean_ctor_get(x_52, 2);
lean_inc(x_67);
lean_inc(x_66);
lean_inc(x_65);
lean_dec(x_52);
x_68 = l_String_Slice_positions(x_41);
x_69 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4___redArg(x_41, x_68, x_2);
lean_dec(x_41);
x_70 = lean_unsigned_to_nat(1u);
x_71 = lean_nat_sub(x_69, x_70);
lean_dec(x_69);
x_72 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_72, 0, x_65);
lean_ctor_set(x_72, 1, x_66);
lean_ctor_set(x_72, 2, x_67);
lean_ctor_set(x_72, 3, x_71);
lean_ctor_set(x_72, 4, x_64);
lean_ctor_set(x_53, 0, x_72);
return x_53;
}
}
else
{
lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; 
x_73 = lean_ctor_get(x_53, 0);
lean_inc(x_73);
lean_dec(x_53);
x_74 = lean_ctor_get(x_52, 0);
lean_inc(x_74);
x_75 = lean_ctor_get(x_52, 1);
lean_inc(x_75);
x_76 = lean_ctor_get(x_52, 2);
lean_inc(x_76);
if (lean_is_exclusive(x_52)) {
 lean_ctor_release(x_52, 0);
 lean_ctor_release(x_52, 1);
 lean_ctor_release(x_52, 2);
 lean_ctor_release(x_52, 3);
 lean_ctor_release(x_52, 4);
 x_77 = x_52;
} else {
 lean_dec_ref(x_52);
 x_77 = lean_box(0);
}
x_78 = l_String_Slice_positions(x_41);
x_79 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4___redArg(x_41, x_78, x_2);
lean_dec(x_41);
x_80 = lean_unsigned_to_nat(1u);
x_81 = lean_nat_sub(x_79, x_80);
lean_dec(x_79);
if (lean_is_scalar(x_77)) {
 x_82 = lean_alloc_ctor(0, 5, 0);
} else {
 x_82 = x_77;
}
lean_ctor_set(x_82, 0, x_74);
lean_ctor_set(x_82, 1, x_75);
lean_ctor_set(x_82, 2, x_76);
lean_ctor_set(x_82, 3, x_81);
lean_ctor_set(x_82, 4, x_73);
x_83 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_83, 0, x_82);
return x_83;
}
}
}
}
}
}
}
else
{
lean_object* x_84; 
lean_dec_ref(x_27);
lean_dec_ref(x_26);
lean_dec(x_22);
lean_dec(x_21);
x_84 = lean_box(0);
return x_84;
}
}
}
else
{
lean_object* x_85; 
lean_dec(x_26);
lean_dec(x_22);
lean_dec(x_21);
x_85 = lean_box(0);
return x_85;
}
}
else
{
lean_object* x_86; 
lean_dec_ref(x_10);
lean_dec_ref(x_9);
lean_dec_ref(x_8);
x_86 = lean_box(0);
return x_86;
}
}
}
else
{
lean_object* x_87; 
lean_dec(x_9);
lean_dec_ref(x_8);
x_87 = lean_box(0);
return x_87;
}
}
else
{
lean_object* x_88; 
lean_dec(x_8);
x_88 = lean_box(0);
return x_88;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec_ref(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__2___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__2(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Lake_Toml_Time_ofString_x3f_spec__4___redArg(x_1, x_2, x_3);
lean_dec_ref(x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_Toml_Time_toString___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(":", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lake_Toml_Time_toString___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(".", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_Time_toString(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 1);
lean_inc(x_3);
x_4 = lean_ctor_get(x_1, 2);
lean_inc(x_4);
x_5 = lean_ctor_get(x_1, 3);
lean_inc(x_5);
x_6 = lean_ctor_get(x_1, 4);
lean_inc(x_6);
lean_dec_ref(x_1);
x_7 = lean_unsigned_to_nat(2u);
x_8 = l_Lake_zpad(x_2, x_7);
x_9 = l_Lake_Toml_Time_toString___closed__0;
x_10 = lean_string_append(x_8, x_9);
x_11 = l_Lake_zpad(x_3, x_7);
x_12 = lean_string_append(x_10, x_11);
lean_dec_ref(x_11);
x_13 = lean_string_append(x_12, x_9);
x_14 = l_Lake_zpad(x_4, x_7);
x_15 = lean_string_append(x_13, x_14);
lean_dec_ref(x_14);
x_16 = lean_unsigned_to_nat(0u);
x_17 = lean_nat_dec_eq(x_6, x_16);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint32_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_18 = l_Lake_Toml_Time_toString___closed__1;
x_19 = lean_string_append(x_15, x_18);
x_20 = l_Lake_zpad(x_6, x_5);
lean_dec(x_5);
x_21 = 48;
x_22 = lean_unsigned_to_nat(3u);
x_23 = l_Lake_rpad(x_20, x_21, x_22);
x_24 = lean_string_append(x_19, x_23);
lean_dec_ref(x_23);
return x_24;
}
else
{
lean_dec(x_6);
lean_dec(x_5);
return x_15;
}
}
}
static lean_object* _init_l_Lake_Toml_Time_instToString___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_Toml_Time_toString), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_Toml_Time_instToString() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_Toml_Time_instToString___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_ctorIdx(lean_object* x_1) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_2; 
x_2 = lean_unsigned_to_nat(0u);
return x_2;
}
case 1:
{
lean_object* x_3; 
x_3 = lean_unsigned_to_nat(1u);
return x_3;
}
case 2:
{
lean_object* x_4; 
x_4 = lean_unsigned_to_nat(2u);
return x_4;
}
default: 
{
lean_object* x_5; 
x_5 = lean_unsigned_to_nat(3u);
return x_5;
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_ctorIdx___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_Toml_DateTime_ctorIdx(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_ctorElim___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_3);
x_4 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_4);
x_5 = lean_ctor_get(x_1, 2);
lean_inc(x_5);
lean_dec_ref(x_1);
x_6 = lean_apply_3(x_2, x_3, x_4, x_5);
return x_6;
}
case 1:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_7);
x_8 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_8);
lean_dec_ref(x_1);
x_9 = lean_apply_2(x_2, x_7, x_8);
return x_9;
}
default: 
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_10);
lean_dec_ref(x_1);
x_11 = lean_apply_1(x_2, x_10);
return x_11;
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_ctorElim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lake_Toml_DateTime_ctorElim___redArg(x_3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_ctorElim___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lake_Toml_DateTime_ctorElim(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_2);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_offsetDateTime_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lake_Toml_DateTime_ctorElim___redArg(x_2, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_offsetDateTime_elim___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_Toml_DateTime_ctorElim___redArg(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_localDateTime_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lake_Toml_DateTime_ctorElim___redArg(x_2, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_localDateTime_elim___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_Toml_DateTime_ctorElim___redArg(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_localDate_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lake_Toml_DateTime_ctorElim___redArg(x_2, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_localDate_elim___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_Toml_DateTime_ctorElim___redArg(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_localTime_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lake_Toml_DateTime_ctorElim___redArg(x_2, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_localTime_elim___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_Toml_DateTime_ctorElim___redArg(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lake_Toml_instInhabitedDateTime_default___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_instInhabitedDate_default;
return x_1;
}
}
static lean_object* _init_l_Lake_Toml_instInhabitedDateTime_default___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(0);
x_2 = l_Lake_Toml_instInhabitedTime_default;
x_3 = l_Lake_Toml_instInhabitedDateTime_default___closed__0;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_Toml_instInhabitedDateTime_default() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_Toml_instInhabitedDateTime_default___closed__1;
return x_1;
}
}
static lean_object* _init_l_Lake_Toml_instInhabitedDateTime() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_Toml_instInhabitedDateTime_default;
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lake_Toml_instDecidableEqDateTime_decEq___lam__0(uint8_t x_1, uint8_t x_2, uint8_t x_3) {
_start:
{
if (x_2 == 0)
{
if (x_3 == 0)
{
return x_1;
}
else
{
return x_2;
}
}
else
{
return x_3;
}
}
}
LEAN_EXPORT uint8_t l_Lake_Toml_instDecidableEqDateTime_decEq___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_alloc_closure((void*)(l_Lake_Toml_instDecidableEqTime___boxed), 2, 0);
x_5 = l_instDecidableEqProd___redArg(x_1, x_4, x_2, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_instDecidableEqDateTime_decEq___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; uint8_t x_5; uint8_t x_6; uint8_t x_7; lean_object* x_8; 
x_4 = lean_unbox(x_1);
x_5 = lean_unbox(x_2);
x_6 = lean_unbox(x_3);
x_7 = l_Lake_Toml_instDecidableEqDateTime_decEq___lam__0(x_4, x_5, x_6);
x_8 = lean_box(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_instDecidableEqDateTime_decEq___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = l_Lake_Toml_instDecidableEqDateTime_decEq___lam__1(x_1, x_2, x_3);
x_5 = lean_box(x_4);
return x_5;
}
}
LEAN_EXPORT uint8_t l_Lake_Toml_instDecidableEqDateTime_decEq(lean_object* x_1, lean_object* x_2) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_3 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_3);
x_4 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_4);
x_5 = lean_ctor_get(x_1, 2);
lean_inc(x_5);
lean_dec_ref(x_1);
x_6 = lean_ctor_get(x_2, 0);
lean_inc_ref(x_6);
x_7 = lean_ctor_get(x_2, 1);
lean_inc_ref(x_7);
x_8 = lean_ctor_get(x_2, 2);
lean_inc(x_8);
lean_dec_ref(x_2);
x_9 = l_Lake_instDecidableEqDate_decEq(x_3, x_6);
lean_dec_ref(x_6);
lean_dec_ref(x_3);
if (x_9 == 0)
{
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_5);
lean_dec_ref(x_4);
return x_9;
}
else
{
uint8_t x_10; 
x_10 = l_Lake_Toml_instDecidableEqTime_decEq(x_4, x_7);
lean_dec_ref(x_7);
lean_dec_ref(x_4);
if (x_10 == 0)
{
lean_dec(x_8);
lean_dec(x_5);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_11 = lean_box(x_10);
x_12 = lean_alloc_closure((void*)(l_Lake_Toml_instDecidableEqDateTime_decEq___lam__0___boxed), 3, 1);
lean_closure_set(x_12, 0, x_11);
x_13 = lean_alloc_closure((void*)(l_Lake_Toml_instDecidableEqDateTime_decEq___lam__1___boxed), 3, 1);
lean_closure_set(x_13, 0, x_12);
x_14 = l_Option_instDecidableEq___redArg(x_13, x_5, x_8);
return x_14;
}
}
}
else
{
uint8_t x_15; 
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_15 = 0;
return x_15;
}
}
case 1:
{
if (lean_obj_tag(x_2) == 1)
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; 
x_16 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_16);
x_17 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_17);
lean_dec_ref(x_1);
x_18 = lean_ctor_get(x_2, 0);
lean_inc_ref(x_18);
x_19 = lean_ctor_get(x_2, 1);
lean_inc_ref(x_19);
lean_dec_ref(x_2);
x_20 = l_Lake_instDecidableEqDate_decEq(x_16, x_18);
lean_dec_ref(x_18);
lean_dec_ref(x_16);
if (x_20 == 0)
{
lean_dec_ref(x_19);
lean_dec_ref(x_17);
return x_20;
}
else
{
uint8_t x_21; 
x_21 = l_Lake_Toml_instDecidableEqTime_decEq(x_17, x_19);
lean_dec_ref(x_19);
lean_dec_ref(x_17);
return x_21;
}
}
else
{
uint8_t x_22; 
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_22 = 0;
return x_22;
}
}
case 2:
{
if (lean_obj_tag(x_2) == 2)
{
lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_23 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_23);
lean_dec_ref(x_1);
x_24 = lean_ctor_get(x_2, 0);
lean_inc_ref(x_24);
lean_dec_ref(x_2);
x_25 = l_Lake_instDecidableEqDate_decEq(x_23, x_24);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
return x_25;
}
else
{
uint8_t x_26; 
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_26 = 0;
return x_26;
}
}
default: 
{
if (lean_obj_tag(x_2) == 3)
{
lean_object* x_27; lean_object* x_28; uint8_t x_29; 
x_27 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_27);
lean_dec_ref(x_1);
x_28 = lean_ctor_get(x_2, 0);
lean_inc_ref(x_28);
lean_dec_ref(x_2);
x_29 = l_Lake_Toml_instDecidableEqTime_decEq(x_27, x_28);
lean_dec_ref(x_28);
lean_dec_ref(x_27);
return x_29;
}
else
{
uint8_t x_30; 
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_30 = 0;
return x_30;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_instDecidableEqDateTime_decEq___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lake_Toml_instDecidableEqDateTime_decEq(x_1, x_2);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT uint8_t l_Lake_Toml_instDecidableEqDateTime(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = l_Lake_Toml_instDecidableEqDateTime_decEq(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_instDecidableEqDateTime___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lake_Toml_instDecidableEqDateTime(x_1, x_2);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_instCoeDateDateTime___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_Toml_instCoeDateDateTime() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_Toml_instCoeDateDateTime___lam__0), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_instCoeTimeDateTime___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_Toml_instCoeTimeDateTime() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_Toml_instCoeTimeDateTime___lam__0), 1, 0);
return x_1;
}
}
LEAN_EXPORT uint8_t l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2_spec__2___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, uint8_t x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_1, 1);
x_7 = lean_ctor_get(x_1, 2);
x_8 = lean_nat_sub(x_7, x_6);
x_9 = lean_nat_dec_eq(x_3, x_8);
lean_dec(x_8);
if (x_9 == 0)
{
uint32_t x_10; lean_object* x_11; uint32_t x_12; uint8_t x_13; 
x_10 = 58;
x_11 = lean_nat_add(x_6, x_3);
lean_dec(x_3);
x_12 = lean_string_utf8_get_fast(x_5, x_11);
x_13 = lean_uint32_dec_eq(x_12, x_10);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_string_utf8_next_fast(x_5, x_11);
lean_dec(x_11);
x_15 = lean_nat_sub(x_14, x_6);
lean_dec(x_14);
{
lean_object* _tmp_2 = x_15;
uint8_t _tmp_3 = x_2;
x_3 = _tmp_2;
x_4 = _tmp_3;
}
goto _start;
}
else
{
lean_dec(x_11);
return x_13;
}
}
else
{
lean_dec(x_3);
return x_4;
}
}
}
LEAN_EXPORT uint8_t l_Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; uint8_t x_4; 
x_3 = 0;
x_4 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2_spec__2___redArg(x_1, x_3, x_2, x_3);
return x_4;
}
}
LEAN_EXPORT uint8_t l_Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = l_Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2___redArg(x_1, x_3);
return x_4;
}
}
LEAN_EXPORT uint8_t l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2_spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
uint8_t x_9; 
x_9 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2_spec__2___redArg(x_1, x_2, x_5, x_6);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; 
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_9 = lean_ctor_get(x_2, 0);
lean_inc(x_9);
x_10 = lean_ctor_get(x_2, 1);
lean_inc(x_10);
if (lean_is_exclusive(x_2)) {
 lean_ctor_release(x_2, 0);
 lean_ctor_release(x_2, 1);
 x_11 = x_2;
} else {
 lean_dec_ref(x_2);
 x_11 = lean_box(0);
}
x_12 = lean_ctor_get(x_1, 0);
x_13 = lean_ctor_get(x_1, 1);
x_14 = lean_ctor_get(x_1, 2);
x_15 = lean_nat_sub(x_14, x_13);
x_16 = lean_nat_dec_eq(x_10, x_15);
lean_dec(x_15);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; uint32_t x_23; uint8_t x_24; uint32_t x_30; uint8_t x_31; 
x_17 = lean_nat_add(x_13, x_10);
x_18 = lean_string_utf8_next_fast(x_12, x_17);
x_19 = lean_nat_sub(x_18, x_13);
lean_dec(x_18);
x_23 = lean_string_utf8_get_fast(x_12, x_17);
lean_dec(x_17);
x_30 = 84;
x_31 = lean_uint32_dec_eq(x_23, x_30);
if (x_31 == 0)
{
uint32_t x_32; uint8_t x_33; 
x_32 = 116;
x_33 = lean_uint32_dec_eq(x_23, x_32);
x_24 = x_33;
goto block_29;
}
else
{
x_24 = x_31;
goto block_29;
}
block_22:
{
lean_object* x_20; lean_object* x_21; 
lean_inc_ref(x_1);
x_20 = l_String_Slice_slice_x21(x_1, x_9, x_10);
lean_dec(x_10);
lean_dec(x_9);
lean_inc(x_19);
if (lean_is_scalar(x_11)) {
 x_21 = lean_alloc_ctor(0, 2, 0);
} else {
 x_21 = x_11;
}
lean_ctor_set(x_21, 0, x_19);
lean_ctor_set(x_21, 1, x_19);
x_4 = x_21;
x_5 = x_20;
goto block_8;
}
block_29:
{
if (x_24 == 0)
{
uint32_t x_25; uint8_t x_26; 
x_25 = 32;
x_26 = lean_uint32_dec_eq(x_23, x_25);
if (x_26 == 0)
{
lean_object* x_27; 
lean_dec(x_11);
lean_dec(x_10);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_9);
lean_ctor_set(x_27, 1, x_19);
x_2 = x_27;
goto _start;
}
else
{
goto block_22;
}
}
else
{
goto block_22;
}
}
}
else
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; 
lean_dec(x_11);
lean_dec(x_10);
x_34 = lean_nat_add(x_13, x_9);
lean_dec(x_9);
lean_inc(x_14);
lean_inc_ref(x_12);
x_35 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_35, 0, x_12);
lean_ctor_set(x_35, 1, x_34);
lean_ctor_set(x_35, 2, x_14);
x_36 = lean_box(1);
x_4 = x_36;
x_5 = x_35;
goto block_8;
}
}
else
{
lean_dec_ref(x_1);
return x_3;
}
block_8:
{
lean_object* x_6; 
x_6 = lean_array_push(x_3, x_5);
x_2 = x_4;
x_3 = x_6;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__1___redArg(x_1, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__6___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
if (lean_obj_tag(x_2) == 0)
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_2);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_13 = lean_ctor_get(x_2, 0);
x_14 = lean_ctor_get(x_2, 1);
x_15 = lean_ctor_get(x_1, 0);
x_16 = lean_ctor_get(x_1, 1);
x_17 = lean_ctor_get(x_1, 2);
x_18 = lean_nat_sub(x_17, x_16);
x_19 = lean_nat_dec_eq(x_14, x_18);
lean_dec(x_18);
if (x_19 == 0)
{
uint32_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint32_t x_24; uint8_t x_25; 
x_20 = 45;
x_21 = lean_nat_add(x_16, x_14);
x_22 = lean_string_utf8_next_fast(x_15, x_21);
x_23 = lean_nat_sub(x_22, x_16);
lean_dec(x_22);
x_24 = lean_string_utf8_get_fast(x_15, x_21);
lean_dec(x_21);
x_25 = lean_uint32_dec_eq(x_24, x_20);
if (x_25 == 0)
{
lean_dec(x_14);
lean_ctor_set(x_2, 1, x_23);
goto _start;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
lean_inc_ref(x_1);
x_27 = l_String_Slice_slice_x21(x_1, x_13, x_14);
lean_dec(x_14);
lean_dec(x_13);
x_28 = lean_ctor_get(x_27, 0);
lean_inc_ref(x_28);
x_29 = lean_ctor_get(x_27, 1);
lean_inc(x_29);
x_30 = lean_ctor_get(x_27, 2);
lean_inc(x_30);
lean_dec_ref(x_27);
lean_inc(x_23);
lean_ctor_set(x_2, 1, x_23);
lean_ctor_set(x_2, 0, x_23);
x_4 = x_2;
x_5 = x_28;
x_6 = x_29;
x_7 = x_30;
goto block_11;
}
}
else
{
lean_object* x_31; lean_object* x_32; 
lean_free_object(x_2);
lean_dec(x_14);
x_31 = lean_nat_add(x_16, x_13);
lean_dec(x_13);
x_32 = lean_box(1);
lean_inc(x_17);
lean_inc_ref(x_15);
x_4 = x_32;
x_5 = x_15;
x_6 = x_31;
x_7 = x_17;
goto block_11;
}
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; 
x_33 = lean_ctor_get(x_2, 0);
x_34 = lean_ctor_get(x_2, 1);
lean_inc(x_34);
lean_inc(x_33);
lean_dec(x_2);
x_35 = lean_ctor_get(x_1, 0);
x_36 = lean_ctor_get(x_1, 1);
x_37 = lean_ctor_get(x_1, 2);
x_38 = lean_nat_sub(x_37, x_36);
x_39 = lean_nat_dec_eq(x_34, x_38);
lean_dec(x_38);
if (x_39 == 0)
{
uint32_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint32_t x_44; uint8_t x_45; 
x_40 = 45;
x_41 = lean_nat_add(x_36, x_34);
x_42 = lean_string_utf8_next_fast(x_35, x_41);
x_43 = lean_nat_sub(x_42, x_36);
lean_dec(x_42);
x_44 = lean_string_utf8_get_fast(x_35, x_41);
lean_dec(x_41);
x_45 = lean_uint32_dec_eq(x_44, x_40);
if (x_45 == 0)
{
lean_object* x_46; 
lean_dec(x_34);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_33);
lean_ctor_set(x_46, 1, x_43);
x_2 = x_46;
goto _start;
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
lean_inc_ref(x_1);
x_48 = l_String_Slice_slice_x21(x_1, x_33, x_34);
lean_dec(x_34);
lean_dec(x_33);
x_49 = lean_ctor_get(x_48, 0);
lean_inc_ref(x_49);
x_50 = lean_ctor_get(x_48, 1);
lean_inc(x_50);
x_51 = lean_ctor_get(x_48, 2);
lean_inc(x_51);
lean_dec_ref(x_48);
lean_inc(x_43);
x_52 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_52, 0, x_43);
lean_ctor_set(x_52, 1, x_43);
x_4 = x_52;
x_5 = x_49;
x_6 = x_50;
x_7 = x_51;
goto block_11;
}
}
else
{
lean_object* x_53; lean_object* x_54; 
lean_dec(x_34);
x_53 = lean_nat_add(x_36, x_33);
lean_dec(x_33);
x_54 = lean_box(1);
lean_inc(x_37);
lean_inc_ref(x_35);
x_4 = x_54;
x_5 = x_35;
x_6 = x_53;
x_7 = x_37;
goto block_11;
}
}
}
else
{
lean_dec_ref(x_1);
return x_3;
}
block_11:
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_string_utf8_extract(x_5, x_6, x_7);
lean_dec(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
x_9 = lean_array_push(x_3, x_8);
x_2 = x_4;
x_3 = x_9;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__6___redArg(x_1, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__8___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
if (lean_obj_tag(x_2) == 0)
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_2);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_13 = lean_ctor_get(x_2, 0);
x_14 = lean_ctor_get(x_2, 1);
x_15 = lean_ctor_get(x_1, 0);
x_16 = lean_ctor_get(x_1, 1);
x_17 = lean_ctor_get(x_1, 2);
x_18 = lean_nat_sub(x_17, x_16);
x_19 = lean_nat_dec_eq(x_14, x_18);
lean_dec(x_18);
if (x_19 == 0)
{
uint32_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint32_t x_24; uint8_t x_25; 
x_20 = 43;
x_21 = lean_nat_add(x_16, x_14);
x_22 = lean_string_utf8_next_fast(x_15, x_21);
x_23 = lean_nat_sub(x_22, x_16);
lean_dec(x_22);
x_24 = lean_string_utf8_get_fast(x_15, x_21);
lean_dec(x_21);
x_25 = lean_uint32_dec_eq(x_24, x_20);
if (x_25 == 0)
{
lean_dec(x_14);
lean_ctor_set(x_2, 1, x_23);
goto _start;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
lean_inc_ref(x_1);
x_27 = l_String_Slice_slice_x21(x_1, x_13, x_14);
lean_dec(x_14);
lean_dec(x_13);
x_28 = lean_ctor_get(x_27, 0);
lean_inc_ref(x_28);
x_29 = lean_ctor_get(x_27, 1);
lean_inc(x_29);
x_30 = lean_ctor_get(x_27, 2);
lean_inc(x_30);
lean_dec_ref(x_27);
lean_inc(x_23);
lean_ctor_set(x_2, 1, x_23);
lean_ctor_set(x_2, 0, x_23);
x_4 = x_2;
x_5 = x_28;
x_6 = x_29;
x_7 = x_30;
goto block_11;
}
}
else
{
lean_object* x_31; lean_object* x_32; 
lean_free_object(x_2);
lean_dec(x_14);
x_31 = lean_nat_add(x_16, x_13);
lean_dec(x_13);
x_32 = lean_box(1);
lean_inc(x_17);
lean_inc_ref(x_15);
x_4 = x_32;
x_5 = x_15;
x_6 = x_31;
x_7 = x_17;
goto block_11;
}
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; 
x_33 = lean_ctor_get(x_2, 0);
x_34 = lean_ctor_get(x_2, 1);
lean_inc(x_34);
lean_inc(x_33);
lean_dec(x_2);
x_35 = lean_ctor_get(x_1, 0);
x_36 = lean_ctor_get(x_1, 1);
x_37 = lean_ctor_get(x_1, 2);
x_38 = lean_nat_sub(x_37, x_36);
x_39 = lean_nat_dec_eq(x_34, x_38);
lean_dec(x_38);
if (x_39 == 0)
{
uint32_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint32_t x_44; uint8_t x_45; 
x_40 = 43;
x_41 = lean_nat_add(x_36, x_34);
x_42 = lean_string_utf8_next_fast(x_35, x_41);
x_43 = lean_nat_sub(x_42, x_36);
lean_dec(x_42);
x_44 = lean_string_utf8_get_fast(x_35, x_41);
lean_dec(x_41);
x_45 = lean_uint32_dec_eq(x_44, x_40);
if (x_45 == 0)
{
lean_object* x_46; 
lean_dec(x_34);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_33);
lean_ctor_set(x_46, 1, x_43);
x_2 = x_46;
goto _start;
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
lean_inc_ref(x_1);
x_48 = l_String_Slice_slice_x21(x_1, x_33, x_34);
lean_dec(x_34);
lean_dec(x_33);
x_49 = lean_ctor_get(x_48, 0);
lean_inc_ref(x_49);
x_50 = lean_ctor_get(x_48, 1);
lean_inc(x_50);
x_51 = lean_ctor_get(x_48, 2);
lean_inc(x_51);
lean_dec_ref(x_48);
lean_inc(x_43);
x_52 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_52, 0, x_43);
lean_ctor_set(x_52, 1, x_43);
x_4 = x_52;
x_5 = x_49;
x_6 = x_50;
x_7 = x_51;
goto block_11;
}
}
else
{
lean_object* x_53; lean_object* x_54; 
lean_dec(x_34);
x_53 = lean_nat_add(x_36, x_33);
lean_dec(x_33);
x_54 = lean_box(1);
lean_inc(x_37);
lean_inc_ref(x_35);
x_4 = x_54;
x_5 = x_35;
x_6 = x_53;
x_7 = x_37;
goto block_11;
}
}
}
else
{
lean_dec_ref(x_1);
return x_3;
}
block_11:
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_string_utf8_extract(x_5, x_6, x_7);
lean_dec(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
x_9 = lean_array_push(x_3, x_8);
x_2 = x_4;
x_3 = x_9;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__8___redArg(x_1, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT uint8_t l_String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3; 
x_2 = lean_unsigned_to_nat(0u);
x_3 = l_Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2___redArg(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT uint8_t l_String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = l_String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2___redArg(x_2);
return x_3;
}
}
static lean_object* _init_l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__0(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__0___closed__0;
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__5(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0___closed__0;
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__7(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0___closed__0;
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_ofString_x3f(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_string_utf8_byte_size(x_1);
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
x_5 = l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__0(x_4);
x_6 = l_Lake_Toml_Time_ofString_x3f___closed__0;
x_7 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__1___redArg(x_4, x_5, x_6);
x_8 = lean_array_to_list(x_7);
if (lean_obj_tag(x_8) == 1)
{
lean_object* x_9; 
x_9 = lean_ctor_get(x_8, 1);
lean_inc(x_9);
if (lean_obj_tag(x_9) == 0)
{
lean_object* x_10; uint8_t x_11; 
x_10 = lean_ctor_get(x_8, 0);
lean_inc(x_10);
lean_dec_ref(x_8);
x_11 = l_String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2___redArg(x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 
x_12 = lean_ctor_get(x_10, 0);
lean_inc_ref(x_12);
x_13 = lean_ctor_get(x_10, 1);
lean_inc(x_13);
x_14 = lean_ctor_get(x_10, 2);
lean_inc(x_14);
lean_dec(x_10);
x_15 = lean_string_utf8_extract(x_12, x_13, x_14);
lean_dec(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
x_16 = l_Lake_Date_ofString_x3f(x_15);
if (lean_obj_tag(x_16) == 0)
{
lean_object* x_17; 
x_17 = lean_box(0);
return x_17;
}
else
{
uint8_t x_18; 
x_18 = !lean_is_exclusive(x_16);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; 
x_19 = lean_ctor_get(x_16, 0);
x_20 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_16, 0, x_20);
return x_16;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_21 = lean_ctor_get(x_16, 0);
lean_inc(x_21);
lean_dec(x_16);
x_22 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_22, 0, x_21);
x_23 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_23, 0, x_22);
return x_23;
}
}
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_24 = lean_ctor_get(x_10, 0);
lean_inc_ref(x_24);
x_25 = lean_ctor_get(x_10, 1);
lean_inc(x_25);
x_26 = lean_ctor_get(x_10, 2);
lean_inc(x_26);
lean_dec(x_10);
x_27 = lean_string_utf8_extract(x_24, x_25, x_26);
lean_dec(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
x_28 = l_Lake_Toml_Time_ofString_x3f(x_27);
if (lean_obj_tag(x_28) == 0)
{
lean_object* x_29; 
x_29 = lean_box(0);
return x_29;
}
else
{
uint8_t x_30; 
x_30 = !lean_is_exclusive(x_28);
if (x_30 == 0)
{
lean_object* x_31; lean_object* x_32; 
x_31 = lean_ctor_get(x_28, 0);
x_32 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_32, 0, x_31);
lean_ctor_set(x_28, 0, x_32);
return x_28;
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = lean_ctor_get(x_28, 0);
lean_inc(x_33);
lean_dec(x_28);
x_34 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_34, 0, x_33);
x_35 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_35, 0, x_34);
return x_35;
}
}
}
}
else
{
lean_object* x_36; 
x_36 = lean_ctor_get(x_9, 1);
if (lean_obj_tag(x_36) == 0)
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_37 = lean_ctor_get(x_8, 0);
lean_inc(x_37);
lean_dec_ref(x_8);
x_38 = lean_ctor_get(x_9, 0);
lean_inc(x_38);
if (lean_is_exclusive(x_9)) {
 lean_ctor_release(x_9, 0);
 lean_ctor_release(x_9, 1);
 x_39 = x_9;
} else {
 lean_dec_ref(x_9);
 x_39 = lean_box(0);
}
x_40 = lean_ctor_get(x_37, 0);
lean_inc_ref(x_40);
x_41 = lean_ctor_get(x_37, 1);
lean_inc(x_41);
x_42 = lean_ctor_get(x_37, 2);
lean_inc(x_42);
if (lean_is_exclusive(x_37)) {
 lean_ctor_release(x_37, 0);
 lean_ctor_release(x_37, 1);
 lean_ctor_release(x_37, 2);
 x_43 = x_37;
} else {
 lean_dec_ref(x_37);
 x_43 = lean_box(0);
}
x_44 = lean_string_utf8_extract(x_40, x_41, x_42);
lean_dec(x_42);
lean_dec(x_41);
lean_dec_ref(x_40);
x_45 = l_Lake_Date_ofString_x3f(x_44);
if (lean_obj_tag(x_45) == 0)
{
lean_object* x_46; 
lean_dec(x_43);
lean_dec(x_39);
lean_dec(x_38);
x_46 = lean_box(0);
return x_46;
}
else
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_61; uint8_t x_109; uint32_t x_200; uint32_t x_204; lean_object* x_216; lean_object* x_217; 
x_47 = lean_ctor_get(x_45, 0);
lean_inc(x_47);
lean_dec_ref(x_45);
x_48 = lean_ctor_get(x_38, 0);
x_49 = lean_ctor_get(x_38, 1);
x_50 = lean_ctor_get(x_38, 2);
x_216 = lean_nat_sub(x_50, x_49);
x_217 = l_String_Slice_Pos_prev_x3f(x_38, x_216);
lean_dec(x_216);
if (lean_obj_tag(x_217) == 0)
{
uint32_t x_218; 
x_218 = 65;
x_204 = x_218;
goto block_215;
}
else
{
lean_object* x_219; lean_object* x_220; 
x_219 = lean_ctor_get(x_217, 0);
lean_inc(x_219);
lean_dec_ref(x_217);
x_220 = l_String_Slice_Pos_get_x3f(x_38, x_219);
lean_dec(x_219);
if (lean_obj_tag(x_220) == 0)
{
uint32_t x_221; 
x_221 = 65;
x_204 = x_221;
goto block_215;
}
else
{
lean_object* x_222; uint32_t x_223; 
x_222 = lean_ctor_get(x_220, 0);
lean_inc(x_222);
lean_dec_ref(x_220);
x_223 = lean_unbox_uint32(x_222);
lean_dec(x_222);
x_204 = x_223;
goto block_215;
}
}
block_60:
{
lean_object* x_51; lean_object* x_52; 
x_51 = lean_string_utf8_extract(x_48, x_49, x_50);
lean_dec(x_50);
lean_dec(x_49);
lean_dec_ref(x_48);
x_52 = l_Lake_Toml_Time_ofString_x3f(x_51);
if (lean_obj_tag(x_52) == 0)
{
lean_object* x_53; 
lean_dec(x_47);
lean_dec(x_39);
x_53 = lean_box(0);
return x_53;
}
else
{
uint8_t x_54; 
x_54 = !lean_is_exclusive(x_52);
if (x_54 == 0)
{
lean_object* x_55; lean_object* x_56; 
x_55 = lean_ctor_get(x_52, 0);
if (lean_is_scalar(x_39)) {
 x_56 = lean_alloc_ctor(1, 2, 0);
} else {
 x_56 = x_39;
}
lean_ctor_set(x_56, 0, x_47);
lean_ctor_set(x_56, 1, x_55);
lean_ctor_set(x_52, 0, x_56);
return x_52;
}
else
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; 
x_57 = lean_ctor_get(x_52, 0);
lean_inc(x_57);
lean_dec(x_52);
if (lean_is_scalar(x_39)) {
 x_58 = lean_alloc_ctor(1, 2, 0);
} else {
 x_58 = x_39;
}
lean_ctor_set(x_58, 0, x_47);
lean_ctor_set(x_58, 1, x_57);
x_59 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_59, 0, x_58);
return x_59;
}
}
}
block_108:
{
lean_object* x_62; lean_object* x_63; lean_object* x_64; 
x_62 = l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__5(x_38);
x_63 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__6___redArg(x_38, x_62, x_6);
x_64 = lean_array_to_list(x_63);
if (lean_obj_tag(x_64) == 1)
{
lean_object* x_65; 
x_65 = lean_ctor_get(x_64, 1);
lean_inc(x_65);
if (lean_obj_tag(x_65) == 1)
{
lean_object* x_66; 
x_66 = lean_ctor_get(x_65, 1);
if (lean_obj_tag(x_66) == 0)
{
lean_object* x_67; uint8_t x_68; 
lean_dec(x_50);
lean_dec(x_49);
lean_dec_ref(x_48);
lean_dec(x_39);
x_67 = lean_ctor_get(x_64, 0);
lean_inc(x_67);
lean_dec_ref(x_64);
x_68 = !lean_is_exclusive(x_65);
if (x_68 == 0)
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; 
x_69 = lean_ctor_get(x_65, 0);
x_70 = lean_ctor_get(x_65, 1);
lean_dec(x_70);
x_71 = l_Lake_Toml_Time_ofString_x3f(x_67);
if (lean_obj_tag(x_71) == 0)
{
lean_object* x_72; 
lean_free_object(x_65);
lean_dec(x_69);
lean_dec(x_47);
lean_dec(x_43);
x_72 = lean_box(0);
return x_72;
}
else
{
uint8_t x_73; 
x_73 = !lean_is_exclusive(x_71);
if (x_73 == 0)
{
lean_object* x_74; lean_object* x_75; 
x_74 = lean_ctor_get(x_71, 0);
x_75 = l_Lake_Toml_Time_ofString_x3f(x_69);
if (lean_obj_tag(x_75) == 0)
{
lean_object* x_76; 
lean_free_object(x_71);
lean_dec(x_74);
lean_free_object(x_65);
lean_dec(x_47);
lean_dec(x_43);
x_76 = lean_box(0);
return x_76;
}
else
{
uint8_t x_77; 
x_77 = !lean_is_exclusive(x_75);
if (x_77 == 0)
{
lean_object* x_78; lean_object* x_79; lean_object* x_80; 
x_78 = lean_ctor_get(x_75, 0);
x_79 = lean_box(x_61);
lean_ctor_set_tag(x_65, 0);
lean_ctor_set(x_65, 1, x_78);
lean_ctor_set(x_65, 0, x_79);
lean_ctor_set(x_75, 0, x_65);
if (lean_is_scalar(x_43)) {
 x_80 = lean_alloc_ctor(0, 3, 0);
} else {
 x_80 = x_43;
}
lean_ctor_set(x_80, 0, x_47);
lean_ctor_set(x_80, 1, x_74);
lean_ctor_set(x_80, 2, x_75);
lean_ctor_set(x_71, 0, x_80);
return x_71;
}
else
{
lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; 
x_81 = lean_ctor_get(x_75, 0);
lean_inc(x_81);
lean_dec(x_75);
x_82 = lean_box(x_61);
lean_ctor_set_tag(x_65, 0);
lean_ctor_set(x_65, 1, x_81);
lean_ctor_set(x_65, 0, x_82);
x_83 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_83, 0, x_65);
if (lean_is_scalar(x_43)) {
 x_84 = lean_alloc_ctor(0, 3, 0);
} else {
 x_84 = x_43;
}
lean_ctor_set(x_84, 0, x_47);
lean_ctor_set(x_84, 1, x_74);
lean_ctor_set(x_84, 2, x_83);
lean_ctor_set(x_71, 0, x_84);
return x_71;
}
}
}
else
{
lean_object* x_85; lean_object* x_86; 
x_85 = lean_ctor_get(x_71, 0);
lean_inc(x_85);
lean_dec(x_71);
x_86 = l_Lake_Toml_Time_ofString_x3f(x_69);
if (lean_obj_tag(x_86) == 0)
{
lean_object* x_87; 
lean_dec(x_85);
lean_free_object(x_65);
lean_dec(x_47);
lean_dec(x_43);
x_87 = lean_box(0);
return x_87;
}
else
{
lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; 
x_88 = lean_ctor_get(x_86, 0);
lean_inc(x_88);
if (lean_is_exclusive(x_86)) {
 lean_ctor_release(x_86, 0);
 x_89 = x_86;
} else {
 lean_dec_ref(x_86);
 x_89 = lean_box(0);
}
x_90 = lean_box(x_61);
lean_ctor_set_tag(x_65, 0);
lean_ctor_set(x_65, 1, x_88);
lean_ctor_set(x_65, 0, x_90);
if (lean_is_scalar(x_89)) {
 x_91 = lean_alloc_ctor(1, 1, 0);
} else {
 x_91 = x_89;
}
lean_ctor_set(x_91, 0, x_65);
if (lean_is_scalar(x_43)) {
 x_92 = lean_alloc_ctor(0, 3, 0);
} else {
 x_92 = x_43;
}
lean_ctor_set(x_92, 0, x_47);
lean_ctor_set(x_92, 1, x_85);
lean_ctor_set(x_92, 2, x_91);
x_93 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_93, 0, x_92);
return x_93;
}
}
}
}
else
{
lean_object* x_94; lean_object* x_95; 
x_94 = lean_ctor_get(x_65, 0);
lean_inc(x_94);
lean_dec(x_65);
x_95 = l_Lake_Toml_Time_ofString_x3f(x_67);
if (lean_obj_tag(x_95) == 0)
{
lean_object* x_96; 
lean_dec(x_94);
lean_dec(x_47);
lean_dec(x_43);
x_96 = lean_box(0);
return x_96;
}
else
{
lean_object* x_97; lean_object* x_98; lean_object* x_99; 
x_97 = lean_ctor_get(x_95, 0);
lean_inc(x_97);
if (lean_is_exclusive(x_95)) {
 lean_ctor_release(x_95, 0);
 x_98 = x_95;
} else {
 lean_dec_ref(x_95);
 x_98 = lean_box(0);
}
x_99 = l_Lake_Toml_Time_ofString_x3f(x_94);
if (lean_obj_tag(x_99) == 0)
{
lean_object* x_100; 
lean_dec(x_98);
lean_dec(x_97);
lean_dec(x_47);
lean_dec(x_43);
x_100 = lean_box(0);
return x_100;
}
else
{
lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; 
x_101 = lean_ctor_get(x_99, 0);
lean_inc(x_101);
if (lean_is_exclusive(x_99)) {
 lean_ctor_release(x_99, 0);
 x_102 = x_99;
} else {
 lean_dec_ref(x_99);
 x_102 = lean_box(0);
}
x_103 = lean_box(x_61);
x_104 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_104, 0, x_103);
lean_ctor_set(x_104, 1, x_101);
if (lean_is_scalar(x_102)) {
 x_105 = lean_alloc_ctor(1, 1, 0);
} else {
 x_105 = x_102;
}
lean_ctor_set(x_105, 0, x_104);
if (lean_is_scalar(x_43)) {
 x_106 = lean_alloc_ctor(0, 3, 0);
} else {
 x_106 = x_43;
}
lean_ctor_set(x_106, 0, x_47);
lean_ctor_set(x_106, 1, x_97);
lean_ctor_set(x_106, 2, x_105);
if (lean_is_scalar(x_98)) {
 x_107 = lean_alloc_ctor(1, 1, 0);
} else {
 x_107 = x_98;
}
lean_ctor_set(x_107, 0, x_106);
return x_107;
}
}
}
}
else
{
lean_dec_ref(x_65);
lean_dec_ref(x_64);
lean_dec(x_43);
goto block_60;
}
}
else
{
lean_dec(x_65);
lean_dec_ref(x_64);
lean_dec(x_43);
goto block_60;
}
}
else
{
lean_dec(x_64);
lean_dec(x_43);
goto block_60;
}
}
block_199:
{
if (x_109 == 0)
{
uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; 
x_110 = 1;
x_111 = l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__7(x_38);
lean_inc(x_38);
x_112 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___00Lake_Toml_DateTime_ofString_x3f_spec__8___redArg(x_38, x_111, x_6);
x_113 = lean_array_to_list(x_112);
if (lean_obj_tag(x_113) == 1)
{
lean_object* x_114; 
x_114 = lean_ctor_get(x_113, 1);
lean_inc(x_114);
if (lean_obj_tag(x_114) == 1)
{
lean_object* x_115; 
x_115 = lean_ctor_get(x_114, 1);
if (lean_obj_tag(x_115) == 0)
{
uint8_t x_116; 
lean_dec(x_43);
lean_dec(x_39);
x_116 = !lean_is_exclusive(x_38);
if (x_116 == 0)
{
lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; 
x_117 = lean_ctor_get(x_38, 2);
lean_dec(x_117);
x_118 = lean_ctor_get(x_38, 1);
lean_dec(x_118);
x_119 = lean_ctor_get(x_38, 0);
lean_dec(x_119);
x_120 = lean_ctor_get(x_113, 0);
lean_inc(x_120);
lean_dec_ref(x_113);
x_121 = !lean_is_exclusive(x_114);
if (x_121 == 0)
{
lean_object* x_122; lean_object* x_123; lean_object* x_124; 
x_122 = lean_ctor_get(x_114, 0);
x_123 = lean_ctor_get(x_114, 1);
lean_dec(x_123);
x_124 = l_Lake_Toml_Time_ofString_x3f(x_120);
if (lean_obj_tag(x_124) == 0)
{
lean_object* x_125; 
lean_free_object(x_114);
lean_dec(x_122);
lean_free_object(x_38);
lean_dec(x_47);
x_125 = lean_box(0);
return x_125;
}
else
{
uint8_t x_126; 
x_126 = !lean_is_exclusive(x_124);
if (x_126 == 0)
{
lean_object* x_127; lean_object* x_128; 
x_127 = lean_ctor_get(x_124, 0);
x_128 = l_Lake_Toml_Time_ofString_x3f(x_122);
if (lean_obj_tag(x_128) == 0)
{
lean_object* x_129; 
lean_free_object(x_124);
lean_dec(x_127);
lean_free_object(x_114);
lean_free_object(x_38);
lean_dec(x_47);
x_129 = lean_box(0);
return x_129;
}
else
{
uint8_t x_130; 
x_130 = !lean_is_exclusive(x_128);
if (x_130 == 0)
{
lean_object* x_131; lean_object* x_132; 
x_131 = lean_ctor_get(x_128, 0);
x_132 = lean_box(x_109);
lean_ctor_set_tag(x_114, 0);
lean_ctor_set(x_114, 1, x_131);
lean_ctor_set(x_114, 0, x_132);
lean_ctor_set(x_128, 0, x_114);
lean_ctor_set(x_38, 2, x_128);
lean_ctor_set(x_38, 1, x_127);
lean_ctor_set(x_38, 0, x_47);
lean_ctor_set(x_124, 0, x_38);
return x_124;
}
else
{
lean_object* x_133; lean_object* x_134; lean_object* x_135; 
x_133 = lean_ctor_get(x_128, 0);
lean_inc(x_133);
lean_dec(x_128);
x_134 = lean_box(x_109);
lean_ctor_set_tag(x_114, 0);
lean_ctor_set(x_114, 1, x_133);
lean_ctor_set(x_114, 0, x_134);
x_135 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_135, 0, x_114);
lean_ctor_set(x_38, 2, x_135);
lean_ctor_set(x_38, 1, x_127);
lean_ctor_set(x_38, 0, x_47);
lean_ctor_set(x_124, 0, x_38);
return x_124;
}
}
}
else
{
lean_object* x_136; lean_object* x_137; 
x_136 = lean_ctor_get(x_124, 0);
lean_inc(x_136);
lean_dec(x_124);
x_137 = l_Lake_Toml_Time_ofString_x3f(x_122);
if (lean_obj_tag(x_137) == 0)
{
lean_object* x_138; 
lean_dec(x_136);
lean_free_object(x_114);
lean_free_object(x_38);
lean_dec(x_47);
x_138 = lean_box(0);
return x_138;
}
else
{
lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; 
x_139 = lean_ctor_get(x_137, 0);
lean_inc(x_139);
if (lean_is_exclusive(x_137)) {
 lean_ctor_release(x_137, 0);
 x_140 = x_137;
} else {
 lean_dec_ref(x_137);
 x_140 = lean_box(0);
}
x_141 = lean_box(x_109);
lean_ctor_set_tag(x_114, 0);
lean_ctor_set(x_114, 1, x_139);
lean_ctor_set(x_114, 0, x_141);
if (lean_is_scalar(x_140)) {
 x_142 = lean_alloc_ctor(1, 1, 0);
} else {
 x_142 = x_140;
}
lean_ctor_set(x_142, 0, x_114);
lean_ctor_set(x_38, 2, x_142);
lean_ctor_set(x_38, 1, x_136);
lean_ctor_set(x_38, 0, x_47);
x_143 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_143, 0, x_38);
return x_143;
}
}
}
}
else
{
lean_object* x_144; lean_object* x_145; 
x_144 = lean_ctor_get(x_114, 0);
lean_inc(x_144);
lean_dec(x_114);
x_145 = l_Lake_Toml_Time_ofString_x3f(x_120);
if (lean_obj_tag(x_145) == 0)
{
lean_object* x_146; 
lean_dec(x_144);
lean_free_object(x_38);
lean_dec(x_47);
x_146 = lean_box(0);
return x_146;
}
else
{
lean_object* x_147; lean_object* x_148; lean_object* x_149; 
x_147 = lean_ctor_get(x_145, 0);
lean_inc(x_147);
if (lean_is_exclusive(x_145)) {
 lean_ctor_release(x_145, 0);
 x_148 = x_145;
} else {
 lean_dec_ref(x_145);
 x_148 = lean_box(0);
}
x_149 = l_Lake_Toml_Time_ofString_x3f(x_144);
if (lean_obj_tag(x_149) == 0)
{
lean_object* x_150; 
lean_dec(x_148);
lean_dec(x_147);
lean_free_object(x_38);
lean_dec(x_47);
x_150 = lean_box(0);
return x_150;
}
else
{
lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; 
x_151 = lean_ctor_get(x_149, 0);
lean_inc(x_151);
if (lean_is_exclusive(x_149)) {
 lean_ctor_release(x_149, 0);
 x_152 = x_149;
} else {
 lean_dec_ref(x_149);
 x_152 = lean_box(0);
}
x_153 = lean_box(x_109);
x_154 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_154, 0, x_153);
lean_ctor_set(x_154, 1, x_151);
if (lean_is_scalar(x_152)) {
 x_155 = lean_alloc_ctor(1, 1, 0);
} else {
 x_155 = x_152;
}
lean_ctor_set(x_155, 0, x_154);
lean_ctor_set(x_38, 2, x_155);
lean_ctor_set(x_38, 1, x_147);
lean_ctor_set(x_38, 0, x_47);
if (lean_is_scalar(x_148)) {
 x_156 = lean_alloc_ctor(1, 1, 0);
} else {
 x_156 = x_148;
}
lean_ctor_set(x_156, 0, x_38);
return x_156;
}
}
}
}
else
{
lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; 
lean_dec(x_38);
x_157 = lean_ctor_get(x_113, 0);
lean_inc(x_157);
lean_dec_ref(x_113);
x_158 = lean_ctor_get(x_114, 0);
lean_inc(x_158);
if (lean_is_exclusive(x_114)) {
 lean_ctor_release(x_114, 0);
 lean_ctor_release(x_114, 1);
 x_159 = x_114;
} else {
 lean_dec_ref(x_114);
 x_159 = lean_box(0);
}
x_160 = l_Lake_Toml_Time_ofString_x3f(x_157);
if (lean_obj_tag(x_160) == 0)
{
lean_object* x_161; 
lean_dec(x_159);
lean_dec(x_158);
lean_dec(x_47);
x_161 = lean_box(0);
return x_161;
}
else
{
lean_object* x_162; lean_object* x_163; lean_object* x_164; 
x_162 = lean_ctor_get(x_160, 0);
lean_inc(x_162);
if (lean_is_exclusive(x_160)) {
 lean_ctor_release(x_160, 0);
 x_163 = x_160;
} else {
 lean_dec_ref(x_160);
 x_163 = lean_box(0);
}
x_164 = l_Lake_Toml_Time_ofString_x3f(x_158);
if (lean_obj_tag(x_164) == 0)
{
lean_object* x_165; 
lean_dec(x_163);
lean_dec(x_162);
lean_dec(x_159);
lean_dec(x_47);
x_165 = lean_box(0);
return x_165;
}
else
{
lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; 
x_166 = lean_ctor_get(x_164, 0);
lean_inc(x_166);
if (lean_is_exclusive(x_164)) {
 lean_ctor_release(x_164, 0);
 x_167 = x_164;
} else {
 lean_dec_ref(x_164);
 x_167 = lean_box(0);
}
x_168 = lean_box(x_109);
if (lean_is_scalar(x_159)) {
 x_169 = lean_alloc_ctor(0, 2, 0);
} else {
 x_169 = x_159;
 lean_ctor_set_tag(x_169, 0);
}
lean_ctor_set(x_169, 0, x_168);
lean_ctor_set(x_169, 1, x_166);
if (lean_is_scalar(x_167)) {
 x_170 = lean_alloc_ctor(1, 1, 0);
} else {
 x_170 = x_167;
}
lean_ctor_set(x_170, 0, x_169);
x_171 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_171, 0, x_47);
lean_ctor_set(x_171, 1, x_162);
lean_ctor_set(x_171, 2, x_170);
if (lean_is_scalar(x_163)) {
 x_172 = lean_alloc_ctor(1, 1, 0);
} else {
 x_172 = x_163;
}
lean_ctor_set(x_172, 0, x_171);
return x_172;
}
}
}
}
else
{
lean_dec_ref(x_114);
lean_dec_ref(x_113);
lean_inc(x_50);
lean_inc(x_49);
lean_inc_ref(x_48);
x_61 = x_110;
goto block_108;
}
}
else
{
lean_dec(x_114);
lean_dec_ref(x_113);
lean_inc(x_50);
lean_inc(x_49);
lean_inc_ref(x_48);
x_61 = x_110;
goto block_108;
}
}
else
{
lean_dec(x_113);
lean_inc(x_50);
lean_inc(x_49);
lean_inc_ref(x_48);
x_61 = x_110;
goto block_108;
}
}
else
{
lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; 
lean_inc(x_49);
lean_inc_ref(x_48);
lean_dec(x_43);
lean_dec(x_39);
x_173 = lean_unsigned_to_nat(1u);
x_174 = lean_nat_sub(x_50, x_49);
x_175 = l_String_Slice_Pos_prevn(x_38, x_174, x_173);
x_176 = !lean_is_exclusive(x_38);
if (x_176 == 0)
{
lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; 
x_177 = lean_ctor_get(x_38, 2);
lean_dec(x_177);
x_178 = lean_ctor_get(x_38, 1);
lean_dec(x_178);
x_179 = lean_ctor_get(x_38, 0);
lean_dec(x_179);
x_180 = lean_nat_add(x_49, x_175);
lean_dec(x_175);
x_181 = lean_string_utf8_extract(x_48, x_49, x_180);
lean_dec(x_180);
lean_dec(x_49);
lean_dec_ref(x_48);
x_182 = l_Lake_Toml_Time_ofString_x3f(x_181);
if (lean_obj_tag(x_182) == 0)
{
lean_object* x_183; 
lean_free_object(x_38);
lean_dec(x_47);
x_183 = lean_box(0);
return x_183;
}
else
{
uint8_t x_184; 
x_184 = !lean_is_exclusive(x_182);
if (x_184 == 0)
{
lean_object* x_185; lean_object* x_186; 
x_185 = lean_ctor_get(x_182, 0);
x_186 = lean_box(0);
lean_ctor_set(x_38, 2, x_186);
lean_ctor_set(x_38, 1, x_185);
lean_ctor_set(x_38, 0, x_47);
lean_ctor_set(x_182, 0, x_38);
return x_182;
}
else
{
lean_object* x_187; lean_object* x_188; lean_object* x_189; 
x_187 = lean_ctor_get(x_182, 0);
lean_inc(x_187);
lean_dec(x_182);
x_188 = lean_box(0);
lean_ctor_set(x_38, 2, x_188);
lean_ctor_set(x_38, 1, x_187);
lean_ctor_set(x_38, 0, x_47);
x_189 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_189, 0, x_38);
return x_189;
}
}
}
else
{
lean_object* x_190; lean_object* x_191; lean_object* x_192; 
lean_dec(x_38);
x_190 = lean_nat_add(x_49, x_175);
lean_dec(x_175);
x_191 = lean_string_utf8_extract(x_48, x_49, x_190);
lean_dec(x_190);
lean_dec(x_49);
lean_dec_ref(x_48);
x_192 = l_Lake_Toml_Time_ofString_x3f(x_191);
if (lean_obj_tag(x_192) == 0)
{
lean_object* x_193; 
lean_dec(x_47);
x_193 = lean_box(0);
return x_193;
}
else
{
lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; 
x_194 = lean_ctor_get(x_192, 0);
lean_inc(x_194);
if (lean_is_exclusive(x_192)) {
 lean_ctor_release(x_192, 0);
 x_195 = x_192;
} else {
 lean_dec_ref(x_192);
 x_195 = lean_box(0);
}
x_196 = lean_box(0);
x_197 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_197, 0, x_47);
lean_ctor_set(x_197, 1, x_194);
lean_ctor_set(x_197, 2, x_196);
if (lean_is_scalar(x_195)) {
 x_198 = lean_alloc_ctor(1, 1, 0);
} else {
 x_198 = x_195;
}
lean_ctor_set(x_198, 0, x_197);
return x_198;
}
}
}
}
block_203:
{
uint32_t x_201; uint8_t x_202; 
x_201 = 122;
x_202 = lean_uint32_dec_eq(x_200, x_201);
x_109 = x_202;
goto block_199;
}
block_215:
{
uint32_t x_205; uint8_t x_206; 
x_205 = 90;
x_206 = lean_uint32_dec_eq(x_204, x_205);
if (x_206 == 0)
{
lean_object* x_207; lean_object* x_208; 
x_207 = lean_nat_sub(x_50, x_49);
x_208 = l_String_Slice_Pos_prev_x3f(x_38, x_207);
lean_dec(x_207);
if (lean_obj_tag(x_208) == 0)
{
uint32_t x_209; 
x_209 = 65;
x_200 = x_209;
goto block_203;
}
else
{
lean_object* x_210; lean_object* x_211; 
x_210 = lean_ctor_get(x_208, 0);
lean_inc(x_210);
lean_dec_ref(x_208);
x_211 = l_String_Slice_Pos_get_x3f(x_38, x_210);
lean_dec(x_210);
if (lean_obj_tag(x_211) == 0)
{
uint32_t x_212; 
x_212 = 65;
x_200 = x_212;
goto block_203;
}
else
{
lean_object* x_213; uint32_t x_214; 
x_213 = lean_ctor_get(x_211, 0);
lean_inc(x_213);
lean_dec_ref(x_211);
x_214 = lean_unbox_uint32(x_213);
lean_dec(x_213);
x_200 = x_214;
goto block_203;
}
}
}
else
{
x_109 = x_206;
goto block_199;
}
}
}
}
else
{
lean_object* x_224; 
lean_dec_ref(x_9);
lean_dec_ref(x_8);
x_224 = lean_box(0);
return x_224;
}
}
}
else
{
lean_object* x_225; 
lean_dec(x_8);
x_225 = lean_box(0);
return x_225;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = l_Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2(x_1, x_2, x_3);
lean_dec_ref(x_1);
x_5 = lean_box(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
uint8_t x_9; uint8_t x_10; uint8_t x_11; lean_object* x_12; 
x_9 = lean_unbox(x_2);
x_10 = lean_unbox(x_6);
x_11 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2_spec__2(x_1, x_9, x_3, x_4, x_5, x_10, x_7, x_8);
lean_dec_ref(x_1);
x_12 = lean_box(x_11);
return x_12;
}
}
LEAN_EXPORT lean_object* l_String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2(x_1, x_2);
lean_dec_ref(x_2);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2___redArg(x_1, x_2);
lean_dec_ref(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2___redArg___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2___redArg(x_1);
lean_dec_ref(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__0___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__0(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__5___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__5(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__7___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__7(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; uint8_t x_6; uint8_t x_7; lean_object* x_8; 
x_5 = lean_unbox(x_2);
x_6 = lean_unbox(x_4);
x_7 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00Std_Iterators_Iter_anyM___at___00String_Slice_contains___at___00Lake_Toml_DateTime_ofString_x3f_spec__2_spec__2_spec__2___redArg(x_1, x_5, x_3, x_6);
lean_dec_ref(x_1);
x_8 = lean_box(x_7);
return x_8;
}
}
static lean_object* _init_l_Lake_Toml_DateTime_toString___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("T", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lake_Toml_DateTime_toString___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("+", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lake_Toml_DateTime_toString___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("-", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lake_Toml_DateTime_toString___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Z", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_DateTime_toString(lean_object* x_1) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_2; 
x_2 = lean_ctor_get(x_1, 2);
if (lean_obj_tag(x_2) == 1)
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_3, 0);
x_5 = lean_unbox(x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_6 = lean_ctor_get(x_3, 1);
lean_inc(x_6);
x_7 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_7);
x_8 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_8);
lean_dec_ref(x_1);
x_9 = lean_ctor_get(x_6, 0);
lean_inc(x_9);
x_10 = lean_ctor_get(x_6, 1);
lean_inc(x_10);
lean_dec(x_6);
x_11 = l_Lake_Date_toString(x_7);
x_12 = l_Lake_Toml_DateTime_toString___closed__0;
x_13 = lean_string_append(x_11, x_12);
x_14 = l_Lake_Toml_Time_toString(x_8);
x_15 = lean_string_append(x_13, x_14);
lean_dec_ref(x_14);
x_16 = l_Lake_Toml_DateTime_toString___closed__1;
x_17 = lean_string_append(x_15, x_16);
x_18 = lean_unsigned_to_nat(2u);
x_19 = l_Lake_zpad(x_9, x_18);
x_20 = lean_string_append(x_17, x_19);
lean_dec_ref(x_19);
x_21 = l_Lake_Toml_Time_toString___closed__0;
x_22 = lean_string_append(x_20, x_21);
x_23 = l_Lake_zpad(x_10, x_18);
x_24 = lean_string_append(x_22, x_23);
lean_dec_ref(x_23);
return x_24;
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_25 = lean_ctor_get(x_3, 1);
lean_inc(x_25);
x_26 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_26);
x_27 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_27);
lean_dec_ref(x_1);
x_28 = lean_ctor_get(x_25, 0);
lean_inc(x_28);
x_29 = lean_ctor_get(x_25, 1);
lean_inc(x_29);
lean_dec(x_25);
x_30 = l_Lake_Date_toString(x_26);
x_31 = l_Lake_Toml_DateTime_toString___closed__0;
x_32 = lean_string_append(x_30, x_31);
x_33 = l_Lake_Toml_Time_toString(x_27);
x_34 = lean_string_append(x_32, x_33);
lean_dec_ref(x_33);
x_35 = l_Lake_Toml_DateTime_toString___closed__2;
x_36 = lean_string_append(x_34, x_35);
x_37 = lean_unsigned_to_nat(2u);
x_38 = l_Lake_zpad(x_28, x_37);
x_39 = lean_string_append(x_36, x_38);
lean_dec_ref(x_38);
x_40 = l_Lake_Toml_Time_toString___closed__0;
x_41 = lean_string_append(x_39, x_40);
x_42 = l_Lake_zpad(x_29, x_37);
x_43 = lean_string_append(x_41, x_42);
lean_dec_ref(x_42);
return x_43;
}
}
else
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_44 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_44);
x_45 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_45);
lean_dec_ref(x_1);
x_46 = l_Lake_Date_toString(x_44);
x_47 = l_Lake_Toml_DateTime_toString___closed__0;
x_48 = lean_string_append(x_46, x_47);
x_49 = l_Lake_Toml_Time_toString(x_45);
x_50 = lean_string_append(x_48, x_49);
lean_dec_ref(x_49);
x_51 = l_Lake_Toml_DateTime_toString___closed__3;
x_52 = lean_string_append(x_50, x_51);
return x_52;
}
}
case 1:
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; 
x_53 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_53);
x_54 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_54);
lean_dec_ref(x_1);
x_55 = l_Lake_Date_toString(x_53);
x_56 = l_Lake_Toml_DateTime_toString___closed__0;
x_57 = lean_string_append(x_55, x_56);
x_58 = l_Lake_Toml_Time_toString(x_54);
x_59 = lean_string_append(x_57, x_58);
lean_dec_ref(x_58);
return x_59;
}
case 2:
{
lean_object* x_60; lean_object* x_61; 
x_60 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_60);
lean_dec_ref(x_1);
x_61 = l_Lake_Date_toString(x_60);
return x_61;
}
default: 
{
lean_object* x_62; lean_object* x_63; 
x_62 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_62);
lean_dec_ref(x_1);
x_63 = l_Lake_Toml_Time_toString(x_62);
return x_63;
}
}
}
}
static lean_object* _init_l_Lake_Toml_DateTime_instToString___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_Toml_DateTime_toString), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_Toml_DateTime_instToString() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_Toml_DateTime_instToString___closed__0;
return x_1;
}
}
lean_object* initialize_Lake_Util_Date(uint8_t builtin);
lean_object* initialize_Lake_Util_String(uint8_t builtin);
lean_object* initialize_Init_Data_String_TakeDrop(uint8_t builtin);
lean_object* initialize_Init_Data_String_Search(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lake_Toml_Data_DateTime(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lake_Util_Date(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_Util_String(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_String_TakeDrop(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_String_Search(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lake_Toml_instInhabitedTime_default___closed__0 = _init_l_Lake_Toml_instInhabitedTime_default___closed__0();
lean_mark_persistent(l_Lake_Toml_instInhabitedTime_default___closed__0);
l_Lake_Toml_instInhabitedTime_default = _init_l_Lake_Toml_instInhabitedTime_default();
lean_mark_persistent(l_Lake_Toml_instInhabitedTime_default);
l_Lake_Toml_instInhabitedTime = _init_l_Lake_Toml_instInhabitedTime();
lean_mark_persistent(l_Lake_Toml_instInhabitedTime);
l_Lake_Toml_Time_zero = _init_l_Lake_Toml_Time_zero();
lean_mark_persistent(l_Lake_Toml_Time_zero);
l_Lake_Toml_Time_instOfNat = _init_l_Lake_Toml_Time_instOfNat();
lean_mark_persistent(l_Lake_Toml_Time_instOfNat);
l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0___closed__0 = _init_l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0___closed__0();
lean_mark_persistent(l_String_Slice_split___at___00Lake_Toml_Time_ofString_x3f_spec__0___closed__0);
l_Lake_Toml_Time_ofString_x3f___closed__0 = _init_l_Lake_Toml_Time_ofString_x3f___closed__0();
lean_mark_persistent(l_Lake_Toml_Time_ofString_x3f___closed__0);
l_Lake_Toml_Time_toString___closed__0 = _init_l_Lake_Toml_Time_toString___closed__0();
lean_mark_persistent(l_Lake_Toml_Time_toString___closed__0);
l_Lake_Toml_Time_toString___closed__1 = _init_l_Lake_Toml_Time_toString___closed__1();
lean_mark_persistent(l_Lake_Toml_Time_toString___closed__1);
l_Lake_Toml_Time_instToString___closed__0 = _init_l_Lake_Toml_Time_instToString___closed__0();
lean_mark_persistent(l_Lake_Toml_Time_instToString___closed__0);
l_Lake_Toml_Time_instToString = _init_l_Lake_Toml_Time_instToString();
lean_mark_persistent(l_Lake_Toml_Time_instToString);
l_Lake_Toml_instInhabitedDateTime_default___closed__0 = _init_l_Lake_Toml_instInhabitedDateTime_default___closed__0();
lean_mark_persistent(l_Lake_Toml_instInhabitedDateTime_default___closed__0);
l_Lake_Toml_instInhabitedDateTime_default___closed__1 = _init_l_Lake_Toml_instInhabitedDateTime_default___closed__1();
lean_mark_persistent(l_Lake_Toml_instInhabitedDateTime_default___closed__1);
l_Lake_Toml_instInhabitedDateTime_default = _init_l_Lake_Toml_instInhabitedDateTime_default();
lean_mark_persistent(l_Lake_Toml_instInhabitedDateTime_default);
l_Lake_Toml_instInhabitedDateTime = _init_l_Lake_Toml_instInhabitedDateTime();
lean_mark_persistent(l_Lake_Toml_instInhabitedDateTime);
l_Lake_Toml_instCoeDateDateTime = _init_l_Lake_Toml_instCoeDateDateTime();
lean_mark_persistent(l_Lake_Toml_instCoeDateDateTime);
l_Lake_Toml_instCoeTimeDateTime = _init_l_Lake_Toml_instCoeTimeDateTime();
lean_mark_persistent(l_Lake_Toml_instCoeTimeDateTime);
l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__0___closed__0 = _init_l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__0___closed__0();
lean_mark_persistent(l_String_Slice_split___at___00Lake_Toml_DateTime_ofString_x3f_spec__0___closed__0);
l_Lake_Toml_DateTime_toString___closed__0 = _init_l_Lake_Toml_DateTime_toString___closed__0();
lean_mark_persistent(l_Lake_Toml_DateTime_toString___closed__0);
l_Lake_Toml_DateTime_toString___closed__1 = _init_l_Lake_Toml_DateTime_toString___closed__1();
lean_mark_persistent(l_Lake_Toml_DateTime_toString___closed__1);
l_Lake_Toml_DateTime_toString___closed__2 = _init_l_Lake_Toml_DateTime_toString___closed__2();
lean_mark_persistent(l_Lake_Toml_DateTime_toString___closed__2);
l_Lake_Toml_DateTime_toString___closed__3 = _init_l_Lake_Toml_DateTime_toString___closed__3();
lean_mark_persistent(l_Lake_Toml_DateTime_toString___closed__3);
l_Lake_Toml_DateTime_instToString___closed__0 = _init_l_Lake_Toml_DateTime_instToString___closed__0();
lean_mark_persistent(l_Lake_Toml_DateTime_instToString___closed__0);
l_Lake_Toml_DateTime_instToString = _init_l_Lake_Toml_DateTime_instToString();
lean_mark_persistent(l_Lake_Toml_DateTime_instToString);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
